public class PokerTest {
    public static void main(String[] args) {
        // 创建扑克牌列表
        Game game = new Game();
        game.addPoker(new Poker("A", "黑桃"));
        game.addPoker(new Poker("2", "黑桃"));
        game.addPoker(new Poker("K", "红桃"));
        game.addPoker(new Poker("3", "方块"));
        game.addPoker(new Poker("A", "梅花"));
        game.addPoker(new Poker("10", "黑桃"));

        // 显示原始顺序
        System.out.println("排序前的扑克牌:");
        game.showAll();

        // 排序后显示
        System.out.println("\n排序后的扑克牌:");
        game.sort();
        game.showAll();
    }
}